<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="" method="post" id="ajaxForm">
    <input type="text" name="id" value=${model.id} hidden ><br>
    新的名字：<input type="text" name="model"value="${model.model}"><br>
    新的分类：
    <select name="typeId">
        <#list typeList as  type>
        <#if type.name==model.type.name>
        <option value="${type.id}" selected>${type.name}</option>
        <#else>
        <option value="${type.id}">${type.name}</option>
    </#if>
</#list>
</select>
</select><br>
新的价格：<input type="text"  name="price"  value="${model.price.amount}"><br>
<!--        <input type="submit" value="提交"><br>-->
</form>
</body>
